/* ------------------------------------------------------------------------*
 *
 * ------------------------------------------------------------------------*/
#include "com_def.h"

uint8_t com_st_check(com_obj_type *com)
{
    if (com->SndSt != COM_TX_IDLE)
        return 0;
    if (com->RcvSt != COM_RX_IDLE)
        return 0;
    return 1;
}
